#3.py
import os

f = input("input your path\n")

if os.path.isdir(f):
	print(f + " is a directory\n")
elif os.path.isfile(f):
	print(f + " is a file\n")
else:
	print(f + " is not exist")